package com.acme.bankapp.service.bank;

public class NotEnoughFundsException extends BankException {
    private double amount;
    private double maximumAmountToWithdraw;

    public NotEnoughFundsException(double amount, double maximumAmountToWithdraw) {
        this.amount = amount;
        this.maximumAmountToWithdraw = maximumAmountToWithdraw;
    }

    public double getAmount() {
        return amount;
    }

    public double getMaximumAmountToWithdraw() {
        return maximumAmountToWithdraw;
    }
}